﻿package bonus{
	
	import field.Ball;
	import field.Element;
	import flash.display.MovieClip;
	import bonus.*;
	
	public class Shot extends Bonus {
		public function Shot() {
			// constructor code
			super();
		}
		
		public override function apply(): void {
			main.panel.disappearBallsUnderCursor();
			
			super.apply();
		}
		
		public override function select(tileX: Number, tileY: Number): void {
			var element: Element = main.panel.elements[tileY][tileX];
			main.panel.elementsUnderCursor [element] = element;
			
			main.panel.blinkElementsUnderCursor();
		}
		
	}
	
}
